package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};
import com.lianziyou.chain.common.api.CommonPage;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;


/**
* <p>
    * ${table.comment!} 服务类
    * </p>
*
* @author ${author}
* @since ${date}
*/
<#if kotlin>
    interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
    /**
    * 查询${table.comment!}分页数据
    *
    * @param page      页码
    * @param limit 每页条数
    * @return CommonResult<${entity}>
    */
    CommonPage<${entity}> findListByPage(Integer page, Integer limit, String orderBy, QueryWrapper<${entity}> queryWrapper);
}
</#if>